package org.infodavid.common.model.security;

import java.util.Map;

import org.infodavid.common.persistence.IDataObject;

/**
 * The Interface IAccessControlEntry.
 */
public interface IAccessControlEntry extends IDataObject<Long> {

	/** The PERMISSIONS. */
	String PERMISSIONS = "permissions";

	/** The OBJEC t_ identifier. */
	String OBJECT_IDENTIFIER = "objectIdentifier";

	/** The ID. */
	String ID = "aceKey";

	/**
	 * Gets the object identifier.
	 * @return the object identifier
	 */
	ISecuredObjectIdentifier getObjectIdentifier();

	/**
	 * Sets the object identifier.
	 * @param value the new object identifier
	 */
	void setObjectIdentifier(ISecuredObjectIdentifier value);

	/**
	 * Gets the permissions.
	 * @return the permissions
	 */
	Map<String,Boolean> getPermissions();
}
